package test.com.sms.selenium.singlepoint.util;

import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

import test.com.sms.selenium.framework.SeleniumPageUtil;
import test.com.sms.selenium.util.SeleniumUtil;

public class SpActivityBoardPageUtil extends SeleniumPageUtil {
	
	// Header
	public final static By AB_SPAN_TOP_TITLE = By.id("ctl44_Header_lblHeader");
	public final static By AB_TD_HEADER_MESSAGE = By.id("ctl44_Header_MessageCell");
	
	/* Open Incidents */
	public final static By AB_SPAN_OPEN_INCIDENTS_HEADER = By.id("ctl44_OpenIncidents_Header_lblHeader");
	public final static By AB_IMG_OPEN_INCIDENTS_HEADER = By.id("ctl44_OpenIncidents_Header_ImgExpandCollapse");
	public final static By AB_TD_OPEN_INCIDENTS_MESSAGE = By.id("ctl44_OpenIncidents_Header_MessageCell");
	public final static By AB_IMG_OPEN_INCIDENTS_EXPORT = By.id("ctl44_OpenIncidents_Header_imgExcelExport");
	public final static By AB_SPAN_OPEN_INCIDENTS_REPORT_OUTPUT = By.id("ctl44_OpenIncidents_ReportOutput");
	
	// open incidents elements
	public final static By AB_TH_OPEN_INCIDENTS_INCIDENT_NUMBER = By.id("ctl44_OpenIncidents_sort_1");
	public final static By AB_TH_OPEN_INCIDENTS_DATE_TIME = By.id("ctl44_OpenIncidents_sort_2");
	public final static By AB_TH_OPEN_INCIDENTS_PRIORITY = By.id("ctl44_OpenIncidents_sort_3");
	public final static By AB_TH_OPEN_INCIDENTS_DESCRIPTION = By.id("ctl44_OpenIncidents_sort_4");
	public final static By AB_TH_OPEN_INCIDENTS_CONTRACT_LINE = By.id("ctl44_OpenIncidents_sort_5");
	public final static By AB_TH_OPEN_INCIDENTS_ASSET = By.id("ctl44_OpenIncidents_sort_6");
	public final static By AB_TH_OPEN_INCIDENTS_SERIAL_NUMBER = By.id("ctl44_OpenIncidents_sort_7");
	public final static By AB_TH_OPEN_INCIDENTS_REQUESTOR = By.id("ctl44_OpenIncidents_sort_8");
	public final static By AB_TH_OPEN_INCIDENTS_CUST_TICKET_NO = By.id("ctl44_OpenIncidents_sort_9");
	public final static By AB_TH_OPEN_INCIDENTS_BLANK_FIELD = By.id("ctl44_OpenIncidents_sort_10");
	
	/* New Assets (Last 90 days):*/
	public final static By AB_SPAN_NEW_ASSETS_HEADER = By.id("ctl44_NewAssets_Header_lblHeader");
	public final static By AB_IMG_NEW_ASSETS_HEADER = By.id("ctl44_NewAssets_Header_ImgExpandCollapse");
	public final static By AB_TD_NEW_ASSETS_MESSAGE = By.id("ctl44_NewAssets_Header_MessageCell");
	public final static By AB_IMG_NEW_ASSETS_EXPORT = By.id("ctl44_NewAssets_Header_imgExcelExport");
	private final static String AB_NEW_ASSETS_MENU_BAR_ID_STR = "ctl44_NewAssets_MenuBar_pnlMenu";
	public final static By AB_DIV_NEW_ASSETS_MENU_BAR = By.id(AB_NEW_ASSETS_MENU_BAR_ID_STR);
	public final static By AB_SPAN_NEW_ASSETS_REPORT_OUTPUT = By.id("ctl44_NewAssets_ReportOutput");
	
	// new assets elements
	private final static String AB_TABLE_NEW_ASSETS_PAGING_BY_STR = "//*[@id='" + AB_NEW_ASSETS_MENU_BAR_ID_STR + "']/following-sibling::table[1]";
	public final static By AB_TABLE_NEW_ASSETS_PAGING = By.xpath(AB_TABLE_NEW_ASSETS_PAGING_BY_STR);
	public final static By AB_TD_NEW_ASSETS_PAGING_PAGE = By.xpath(AB_TABLE_NEW_ASSETS_PAGING_BY_STR + "/tbody/tr/td[1]");
	public final static By AB_TD_NEW_ASSETS_PAGING_PAGE_IDX = By.id("ctl44_NewAssets_PagingTop_lblPagingPageNumber");
	public final static By AB_TD_NEW_ASSETS_PAGING_PAGE_OF = By.xpath(AB_TABLE_NEW_ASSETS_PAGING_BY_STR + "/tbody/tr/td[3]");
	public final static By AB_TD_NEW_ASSETS_PAGING_PAGE_COUNT = By.id("ctl44_NewAssets_PagingTop_lblPagingPageCount");
	
	public final static By AB_IMG_NEW_ASSETS_FIRST = By.id("ctl44_NewAssets_PagingTop_imgFirst");
	public final static By AB_IMG_NEW_ASSETS_PREVIOUS = By.id("ctl44_NewAssets_PagingTop_imgPrevious");
	public final static By AB_IMG_NEW_ASSETS_NEXT = By.id("ctl44_NewAssets_PagingTop_imgNext");
	public final static By AB_IMG_NEW_ASSETS_LAST = By.id("ctl44_NewAssets_PagingTop_imgLast");
	
	public final static By AB_TH_NEW_ASSETS_SERIAL_NUMBER = By.id("ctl44_NewAssets_sort_1");
	public final static By AB_TH_NEW_ASSETS_ASSET_NAME = By.id("ctl44_NewAssets_sort_2");
	public final static By AB_TH_NEW_ASSETS_MANUFACTURER = By.id("ctl44_NewAssets_sort_3");
	public final static By AB_TH_NEW_ASSETS_MODEL = By.id("ctl44_NewAssets_sort_4");
	public final static By AB_TH_NEW_ASSETS_ASSET_TYPE = By.id("ctl44_NewAssets_sort_5");
	public final static By AB_TH_NEW_ASSETS_CUSTOMER_ADDRESS = By.id("ctl44_NewAssets_sort_6");
	public final static By AB_TH_NEW_ASSETS_WARRANTY_END_DATE = By.id("ctl44_NewAssets_sort_7");
	public final static By AB_TH_NEW_ASSETS_STATUS = By.id("ctl44_NewAssets_sort_8");
	
	/* Active Contracts*/
	public final static By AB_SPAN_ACTIVE_CONTRACTS_HEADER = By.id("ctl44_ActiveContracts_ActiveChanges_Header_lblHeader");
	public final static By AB_IMG_ACTIVE_CONTRACTS_HEADER = By.id("ctl44_ActiveContracts_ActiveChanges_Header_ImgExpandCollapse");
	public final static By AB_TD_ACTIVE_CONTRACTS_MESSAGE = By.id("ctl44_ActiveContracts_ActiveChanges_Header_MessageCell");
	public final static By AB_IMG_ACTIVE_CONTRACTS_PREFERENCES = By.id("ctl44_ActiveContracts_ActiveChanges_Header_imgPreferences");
	public final static By AB_IMG_ACTIVE_CONTRACTS_EXPORT = By.id("ctl44_ActiveContracts_ActiveChanges_Header_imgExcelExport");
	public final static By AB_LINK_ACTIVE_CONTRACTS_MODIFY_CONTRACT_LINE = By.xpath("//*[@name='Modify Contract Line']/a");
	// contracts
	public final static By AB_LINK_TEST_5 = By.xpath("//*[@id='ctl44_ActiveContracts_ActiveChanges_ReportOutput']/table/tbody/tr/td[1]");
	
	// active contracts elements
	private final static String AB_TABLE_ACTIVE_CONTRACTS_PAGING_BY_STR = "//*[@id='ctl44_ActiveContracts_ActiveChanges_MenuBar_pnlMenu']/following-sibling::table[1]";
	public final static By AB_TABLE_ACTIVE_CONTRACTS_PAGING = By.xpath(AB_TABLE_ACTIVE_CONTRACTS_PAGING_BY_STR);
	public final static By AB_TD_ACTIVE_CONTRACTS_PAGING_PAGE = By.xpath(AB_TABLE_ACTIVE_CONTRACTS_PAGING_BY_STR + "/tbody/tr/td[1]");
	public final static By AB_TD_ACTIVE_CONTRACTS_PAGING_PAGE_IDX = By.id("ctl44_ActiveContracts_ActiveChanges_PagingTop_lblPagingPageNumber");
	public final static By AB_TD_ACTIVE_CONTRACTS_PAGING_PAGE_OF = By.xpath(AB_TABLE_ACTIVE_CONTRACTS_PAGING_BY_STR + "/tbody/tr/td[3]");
	public final static By AB_TD_ACTIVE_CONTRACTS_PAGING_PAGE_COUNT = By.id("ctl44_ActiveContracts_ActiveChanges_PagingTop_lblPagingPageCount");
	
	public final static By AB_IMG_ACTIVE_CONTRACTS_FIRST = By.id("ctl44_ActiveContracts_ActiveChanges_PagingTop_imgFirst");
	public final static By AB_IMG_ACTIVE_CONTRACTS_PREVIOUS = By.id("ctl44_ActiveContracts_ActiveChanges_PagingTop_imgPrevious");
	public final static By AB_IMG_ACTIVE_CONTRACTS_NEXT = By.id("ctl44_ActiveContracts_ActiveChanges_PagingTop_imgNext");
	public final static By AB_IMG_ACTIVE_CONTRACTS_LAST = By.id("ctl44_ActiveContracts_ActiveChanges_PagingTop_imgLast");
	
	public final static By AB_TH_ACTIVE_CONTRACTS_CONTRACT_NUMBER = By.id("ctl44_ActiveContracts_ActiveChanges_sort_1");
	public final static By AB_TH_ACTIVE_CONTRACTS_RENEWAL_BEGAN = By.id("ctl44_ActiveContracts_ActiveChanges_sort_2");
	public final static By AB_TH_ACTIVE_CONTRACTS_START_DATE = By.id("ctl44_ActiveContracts_ActiveChanges_sort_3");
	public final static By AB_TH_ACTIVE_CONTRACTS_TOTAL_LINES = By.id("ctl44_ActiveContracts_ActiveChanges_sort_4");
	public final static By AB_TH_ACTIVE_CONTRACTS_SMS_COVERTED_ASSETS = By.id("ctl44_ActiveContracts_ActiveChanges_sort_5");
	
	/* Pending Contract Change Request*/
	public final static By AB_SPAN_PENDING_CONTRACT_CHANGE_REQUEST_HEADER = By.id("ctl44_PendingContractChangeRequest_Header_lblHeader");
	public final static By AB_IMG_PENDING_CONTRACT_CHANGE_REQUEST = By.id("ctl44_PendingContractChangeRequest_Header_ImgExpandCollapse"); 
	public final static By AB_IMG_PENDING_CONTRACT_CHANGE_REQUEST_PREFERENCES = By.id("ctl44_PendingContractChangeRequest_Header_imgPreferences");
	public final static By AB_IMG_PENDING_CONTRACT_CHANGE_REQUEST_EXPORT = By.id("ctl44_PendingContractChangeRequest_Header_imgExcelExport");
	public final static String AB_TABLE_PENDING_CONTRACT_CHANGE_REQUEST_PAGING_STR = "//*[@id='ctl44_PendingContractChangeRequest_Header_HeaderTable']/following-sibling::table[1]";
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_PAGING_PAGE = By.xpath(AB_TABLE_PENDING_CONTRACT_CHANGE_REQUEST_PAGING_STR + "/tbody/tr/td[1]");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_PAGING_PAGE_IDX = By.id("ctl44_PendingContractChangeRequest_PagingTop_lblPagingPageNumber");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_PAGING_PAGE_OF = By.xpath(AB_TABLE_PENDING_CONTRACT_CHANGE_REQUEST_PAGING_STR + "/tbody/tr/td[3]");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_PAGING_PAGE_COUNT = By.id("ctl44_PendingContractChangeRequest_PagingTop_lblPagingPageCount");
	
	public final static By AB_IMG_PENDING_CONTRACT_CHANGE_REQUEST_FIRST = By.id("ctl44_PendingContractChangeRequest_PagingTop_imgFirst");
	public final static By AB_IMG_PENDING_CONTRACT_CHANGE_REQUEST_PREVIOUS = By.id("ctl44_PendingContractChangeRequest_PagingTop_imgPrevious");
	public final static By AB_IMG_PENDING_CONTRACT_CHANGE_REQUEST_NEXT = By.id("ctl44_PendingContractChangeRequest_PagingTop_imgNext");
	public final static By AB_IMG_PENDING_CONTRACT_CHANGE_REQUEST_LAST = By.id("ctl44_PendingContractChangeRequest_PagingTop_imgLast");
	
	// pending contract change request elements
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_CONRTRACT_NUMBER = By.id("ctl44_PendingContractChangeRequest_sort_1");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_LINE = By.id("ctl44_PendingContractChangeRequest_sort_2");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_CHANGES = By.id("ctl44_PendingContractChangeRequest_sort_3");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_TYPE = By.id("ctl44_PendingContractChangeRequest_sort_4");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_STATUS = By.id("ctl44_PendingContractChangeRequest_sort_5");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_SERIAL_NUMBER = By.id("ctl44_PendingContractChangeRequest_sort_6");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_ASSET_NAME = By.id("ctl44_PendingContractChangeRequest_sort_7");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_MANUFACTURER = By.id("ctl44_PendingContractChangeRequest_sort_8");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_MODEL = By.id("ctl44_PendingContractChangeRequest_sort_10");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_REQ_ADDRESS = By.id("ctl44_PendingContractChangeRequest_sort_11");
	public final static By AB_TD_PENDING_CONTRACT_CHANGE_REQUEST_REQ_SLA = By.id("ctl44_PendingContractChangeRequest_sort_12");
	
	/* In Progress Contract Change Request */
	public final static By AB_SPAN_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_HEADER = By.id("ctl44_InProgressContractChangeRequest_Header_lblHeader");
	public final static By AB_IMG_IN_PROGRESS_CONTRACT_CHANGE_REQUEST = By.id("ctl44_InProgressContractChangeRequest_Header_ImgExpandCollapse"); 
	public final static By AB_IMG_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_PREFERENCES = By.id("ctl44_InProgressContractChangeRequest_Header_imgPreferences");
	public final static By AB_IMG_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_EXPORT = By.id("ctl44_InProgressContractChangeRequest_Header_imgExcelExport");
	public final static String AB_TABLE_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_PAGING_STR = "//*[@id='ctl44_InProgressContractChangeRequest_Header_HeaderTable']/following-sibling::table[1]";
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_PAGING_PAGE = By.xpath(AB_TABLE_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_PAGING_STR + "/tbody/tr/td[1]");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_PAGING_PAGE_IDX = By.id("ctl44_InProgressContractChangeRequest_PagingTop_lblPagingPageNumber");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_PAGING_PAGE_OF = By.xpath(AB_TABLE_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_PAGING_STR + "/tbody/tr/td[3]");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_PAGING_PAGE_COUNT = By.id("ctl44_InProgressContractChangeRequest_PagingTop_lblPagingPageCount");
	
	public final static By AB_IMG_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_FIRST = By.id("ctl44_InProgressContractChangeRequest_PagingTop_imgFirst");
	public final static By AB_IMG_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_PREVIOUS = By.id("ctl44_InProgressContractChangeRequest_PagingTop_imgPrevious");
	public final static By AB_IMG_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_NEXT = By.id("ctl44_InProgressContractChangeRequest_PagingTop_imgNext");
	public final static By AB_IMG_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_LAST = By.id("ctl44_InProgressContractChangeRequest_PagingTop_imgLast");
	
	// in progress contract change request elements
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_CONRTRACT_NUMBER = By.id("ctl44_InProgressContractChangeRequest_sort_1");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_LINE = By.id("ctl44_InProgressContractChangeRequest_sort_2");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_CHANGES = By.id("ctl44_InProgressContractChangeRequest_sort_3");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_TYPE = By.id("ctl44_InProgressContractChangeRequest_sort_4");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_STATUS = By.id("ctl44_InProgressContractChangeRequest_sort_5");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_SERIAL_NUMBER = By.id("ctl44_InProgressContractChangeRequest_sort_6");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_ASSET_NAME = By.id("ctl44_InProgressContractChangeRequest_sort_7");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_MANUFACTURER = By.id("ctl44_InProgressContractChangeRequest_sort_8");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_MODEL = By.id("ctl44_InProgressContractChangeRequest_sort_10");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_REQ_ADDRESS = By.id("ctl44_InProgressContractChangeRequest_sort_11");
	public final static By AB_TD_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_REQ_SLA = By.id("ctl44_InProgressContractChangeRequest_sort_12");
	
	/* Pending Activities - Warranties Expiring */
	public final static By AB_SPAN_PENDING_ACTIVITIES_WARRANTIES_EXPIRING_HEADER = By.id("ctl44_PendingActivity_WarrantiesExpiring_Header_lblHeader");
	public final static By AB_IMG_PENDING_ACTIVITIES_WARRANTIES_EXPIRING = By.id("ctl44_PendingActivity_WarrantiesExpiring_Header_ImgExpandCollapse"); 
	public final static By AB_IMG_PENDING_ACTIVITIES_WARRANTIES_EXPIRING_PREFERENCES = By.id("ctl44_PendingActivity_WarrantiesExpiring_Header_imgPreferences");
	public final static By AB_IMG_PENDING_ACTIVITIES_WARRANTIES_EXPIRING_EXPORT = By.id("ctl44_PendingActivity_WarrantiesExpiring_Header_imgExcelExport");
	
	// pending activities - warranties expiring
	public final static By AB_TD_PENDING_ACTIVITIES_WARRANTIES_EXPIRING_ASSET_NAME = By.id("ctl44_PendingActivity_WarrantiesExpiring_sort_1");
	public final static By AB_TD_PENDING_ACTIVITIES_WARRANTIES_EXPIRING_ASSET_TYPE = By.id("ctl44_PendingActivity_WarrantiesExpiring_sort_2");
	public final static By AB_TD_PENDING_ACTIVITIES_WARRANTIES_EXPIRING_END_DATE = By.id("ctl44_PendingActivity_WarrantiesExpiring_sort_3");
	
	/* Pending Activities - Leases Expiring */
	public final static By AB_SPAN_PENDING_ACTIVITIES_LEASES_EXPIRING_HEADER = By.id("ctl44_PendingActivity_LeasesExpiring_Header_lblHeader");
	public final static By AB_IMG_PENDING_ACTIVITIES_LEASES_EXPIRING = By.id("ctl44_PendingActivity_LeasesExpiring_Header_ImgExpandCollapse"); 
	public final static By AB_IMG_PENDING_ACTIVITIES_LEASES_EXPIRING_PREFERENCES = By.id("ctl44_PendingActivity_LeasesExpiring_Header_imgPreferences");
	public final static By AB_IMG_PENDING_ACTIVITIES_LEASES_EXPIRING_EXPORT = By.id("ctl44_PendingActivity_LeasesExpiring_Header_imgExcelExport");
	
	// pending activities - leases expiring
	public final static By AB_TD_PENDING_ACTIVITIES_LEASES_EXPIRING_ASSET_NAME = By.id("ctl44_PendingActivity_LeasesExpiring_sort_1");
	public final static By AB_TD_PENDING_ACTIVITIES_LEASES_EXPIRING_ASSET_TYPE = By.id("ctl44_PendingActivity_LeasesExpiring_sort_2");
	public final static By AB_TD_PENDING_ACTIVITIES_LEASES_EXPIRING_END_DATE = By.id("ctl44_PendingActivity_LeasesExpiring_sort_3");
	
	/* Pending Activities - Scheduled Retirement */
	public final static By AB_SPAN_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT_HEADER = By.id("ctl44_PendingActivity_ScheduledRetirement_Header_lblHeader");
	public final static By AB_IMG_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT = By.id("ctl44_PendingActivity_ScheduledRetirement_Header_ImgExpandCollapse"); 
	public final static By AB_IMG_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT_PREFERENCES = By.id("ctl44_PendingActivity_ScheduledRetirement_Header_imgPreferences");
	public final static By AB_IMG_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT_EXPORT = By.id("ctl44_PendingActivity_ScheduledRetirement_Header_imgExcelExport");
	
	// pending activities - scheduled retirement
	public final static By AB_TD_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT_ASSET_NAME = By.id("ctl44_PendingActivity_ScheduledRetirement_sort_1");
	public final static By AB_TD_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT_ASSET_TYPE = By.id("ctl44_PendingActivity_ScheduledRetirement_sort_2");
	public final static By AB_TD_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT_SCHEDULED = By.id("ctl44_PendingActivity_ScheduledRetirement_sort_3");
	public final static By AB_TD_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT_ALERT = By.id("ctl44_PendingActivity_ScheduledRetirement_sort_3");
	public final static By AB_TD_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT_ACTUAL = By.id("ctl44_PendingActivity_ScheduledRetirement_sort_3");
	
	/* Pending Activities - Contracts Retirement */
	public final static By AB_SPAN_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT_HEADER = By.id("ctl44_PendingActivity_ContractsExpiring_Header_lblHeader");
	public final static By AB_IMG_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT1 = By.id("ctl44_PendingActivity_ContractsExpiring_Header_ImgExpandCollapse"); 
	public final static By AB_IMG_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT_PREFERENCES = By.id("ctl44_PendingActivity_ContractsExpiring_Header_imgPreferences");
	public final static By AB_IMG_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT_EXPORT = By.id("ctl44_PendingActivity_ContractsExpiring_Header_imgExcelExport");
	
	// pending activities - contracts retirement
	public final static By AB_TD_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT_CONTRACT_NUMBER = By.id("ctl44_PendingActivity_ContractsExpiring_sort_1");
	public final static By AB_TD_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT_END_DATE = By.id("ctl44_PendingActivity_ContractsExpiring_sort_2");
	public final static By AB_TD_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT_EST_VALUE = By.id("ctl44_PendingActivity_ContractsExpiring_sort_3");
	public final static By AB_TD_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT_SUPPLIER = By.id("ctl44_PendingActivity_ContractsExpiring_sort_3");
	public final static By AB_TD_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT_CYCLE = By.id("ctl44_PendingActivity_ContractsExpiring_sort_3");
	
	
	/* Warranties Expired */
	public final static By AB_SPAN_WARRANTIES_EXPIRED_HEADER = By.id("ctl44_Expirations_Warranties_Header_lblHeader");
	public final static By AB_IMG_WARRANTIES_EXPIRED = By.id("ctl44_Expirations_Warranties_Header_ImgExpandCollapse"); 
	public final static By AB_IMG_WARRANTIES_EXPIRED_PREFERENCES = By.id("ctl44_Expirations_Warranties_Header_imgPreferences");
	public final static By AB_IMG_WARRANTIES_EXPIRED_EXPORT = By.id("ctl44_Expirations_Warranties_Header_imgExcelExport");
	
	// warranties expired elements
	public final static By AB_TD_WARRANTIES_EXPIRED_ASSET_NAME = By.id("ctl44_Expirations_Warranties_sort_1");
	public final static By AB_TD_WARRANTIES_EXPIRED_ASSET_TYPE = By.id("ctl44_Expirations_Warranties_sort_2");
	public final static By AB_TD_WARRANTIES_EXPIRED_END_DATE = By.id("ctl44_Expirations_Warranties_sort_3");
	
	/* Leases Expired */
	public final static By AB_SPAN_LEASES_EXPIRED_HEADER = By.id("ctl44_Expirations_Leases_Header_lblHeader");
	public final static By AB_IMG_LEASES_EXPIRED = By.id("ctl44_Expirations_Leases_Header_ImgExpandCollapse"); 
	public final static By AB_IMG_LEASES_EXPIRED_PREFERENCES = By.id("ctl44_Expirations_Leases_Header_imgPreferences");
	public final static By AB_IMG_LEASES_EXPIRED_EXPORT = By.id("ctl44_Expirations_Leases_Header_imgExcelExport");
	
	// leases expired elements
	public final static By AB_TD_LEASES_EXPIRED_ASSET_NAME = By.id("ctl44_Expirations_Leases_sort_1");
	public final static By AB_TD_LEASES_EXPIRED_ASSET_TYPE = By.id("ctl44_Expirations_Leases_sort_2");
	public final static By AB_TD_LEASES_EXPIRED_END_DATE = By.id("ctl44_Expirations_Leases_sort_3");
	
	/* Contract Expired */
	public final static By AB_SPAN_CONTRACTS_EXPIRED_HEADER = By.id("ctl44_Expirations_Contracts_Header_lblHeader");
	public final static By AB_IMG_CONTRACTS_EXPIRED = By.id("ctl44_Expirations_Contracts_Header_ImgExpandCollapse"); 
	public final static By AB_IMG_CONTRACTS_EXPIRED_PREFERENCES = By.id("ctl44_Expirations_Contracts_Header_imgPreferences");
	public final static By AB_IMG_CONTRACTS_EXPIRED_EXPORT = By.id("ctl44_Expirations_Contracts_Header_imgExcelExport");
	
	// contracts expired elements
	public final static By AB_TD_CONTRACTS_EXPIRED_ASSET_NAME = By.id("ctl44_Expirations_Contracts_sort_1");
	public final static By AB_TD_CONTRACTS_EXPIRED_ASSET_TYPE = By.id("ctl44_Expirations_Contracts_sort_2");
	public final static By AB_TD_CONTRACTS_EXPIRED_END_DATE = By.id("ctl44_Expirations_Contracts_sort_3");
	
	/** wait for page to load*/
	public static void waitForPageToLoad() {
		SeleniumUtil.selectDefaultContent();
		SeleniumUtil.selectFrame(SpHomePageUtil.HOME_FRAME_CONTENT_NAME);
		
		// Wait for all headers to show
		SeleniumUtil.waitOnElements(new By[]{
				AB_SPAN_OPEN_INCIDENTS_HEADER, AB_SPAN_NEW_ASSETS_HEADER, AB_SPAN_ACTIVE_CONTRACTS_HEADER, 
				AB_SPAN_PENDING_CONTRACT_CHANGE_REQUEST_HEADER, AB_SPAN_IN_PROGRESS_CONTRACT_CHANGE_REQUEST_HEADER, 
				AB_SPAN_PENDING_ACTIVITIES_WARRANTIES_EXPIRING_HEADER, AB_SPAN_PENDING_ACTIVITIES_LEASES_EXPIRING_HEADER, 
				AB_SPAN_PENDING_ACTIVITIES_SCHEDULED_RETIREMENT_HEADER, AB_SPAN_PENDING_ACTIVITIES_CONTRACTS_RETIREMENT_HEADER, 
				AB_SPAN_WARRANTIES_EXPIRED_HEADER, AB_SPAN_LEASES_EXPIRED_HEADER, AB_SPAN_CONTRACTS_EXPIRED_HEADER
		});
		
		// elements are shown
		SeleniumUtil.isDisplayed(SeleniumUtil.findElement(AB_IMG_WARRANTIES_EXPIRED_EXPORT));
		SeleniumUtil.isDisplayed(SeleniumUtil.findElement(AB_IMG_LEASES_EXPIRED_EXPORT));
		SeleniumUtil.isDisplayed(SeleniumUtil.findElement(AB_IMG_CONTRACTS_EXPIRED_EXPORT));
	}
	
	/** Add Assets link in this page*/
	public static WebElement getAddAssetsLink() {
		return SeleniumUtil.findElement(
				SeleniumUtil.findElement(AB_DIV_NEW_ASSETS_MENU_BAR), By.xpath(".//a[text()='Add Asset(s)']"));
	}
	
}
